package cn.wolfcode.springdemo_2.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Getter
@Setter
//@ToString
//@Component
public class MyDataSource {

    @Value("${jdbc.username}")
    private String username;



    @Value("${jdbc.password}")
    private String password;
}
